<template>
  <div>
    <button @click="btnClick">点击按钮</button>
  </div>
</template>

<script>
import emitter from "./utils/eventbus";

export default {
  methods: {
    btnClick() {
      console.log("about按钮的点击");
      emitter.emit("pengfan", { name: "pengfan", age: 20 });
      emitter.emit("pengyutong", {name: "pengyutong",age: 18})
    },
  },
};
</script>

<style scoped></style>
